package homeworke.qusetion22;

/**
 * Author：毕龙
 * Date: 2024/4/18 20:17
 */
public class Employee {
    private String name;
    private int month;
    public double getSalary(int month){
        if(this.month == month){
            return 100;
        }
        return 0;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }
}
